home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
actlib13.zip
/
STRINGS.ZIP
/
ISALNUM.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-25
|
531b
|
26 lines
/* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
#include "strings.h"
#include <ctype.h>
/***
* Function : strisalnum
*
* Description : Tests if a string contains only alphanumerical character
*
* Parameters : in char *string
*
* Return : 1 if string contains only alphanumerical characters.
* 0 otherwise
*
* OS/Compiler : All
***/
int strisalnum( char *string )
{
while ( isalnum(*string++) );
return( ! *--string );
}